add_entrypoint_object(
  posix_spawn
  SRCS
    posix_spawn.cpp
  HDRS
    ../posix_spawn.h
  DEPENDS
    libc.hdr.types.mode_t
    libc.hdr.fcntl_macros
    libc.include.spawn
    libc.include.sys_syscall
    libc.include.signal
    libc.src.__support.CPP.optional
    libc.src.__support.OSUtil.osutil
    libc.src.spawn.file_actions
)
